﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    //车辆信息列表
    public class AmbulanceInfo
    {
        public string AmbulanceCode { get; set; }
        public string RealSign { get; set; }
        public string Station { get; set; }
        public string WorkState { get; set;}
        public string Tel { get; set;}
        public string GPSState { get; set; }
        public string Driver { get; set; }
        public string Doctor { get; set; }
        public string Nurse { get; set; }
        public string Stretcher { get; set; }
        public string TaskNum { get; set; }
        public string TaskNo { get; set; }
        public string AmbulanceNum { get; set; }
        public string WorkStateCode { get; set; }
        public string AmbulanceType { get; set; }
        public string AmbulanceLevel { get; set; }
        public string TaskCode { get; set; }
        public string StartTime { get;set;}
        public string EndTime { get; set; }
        public DateTime? KeyTime { get; set; }

        public string PauseReason { get; set; }
        public string EventName { get; set; } //add2021-01-18 plq 事件名称
        public string ReturnStationTime { get; set; } //add2021-01-18 plq 返回站中时刻 

        public string PauseHospital { get; set; }
    }
    //实时数据 ,待派任务数
    public class TalarmEventInfo
    {
        public string ID { get; set; }
        public string Name { get; set; }
        public int Value { get; set; }
    }
    //当班车辆数
    public class AmbulanceNum
    {
        public string name { get; set; }
        public int value { get; set; }
        public string unit { get; set; }
    }
    //历史呼救信息列表
    public class HistoryEventInfo
    {
        public string EventType { get; set; }
        public string EventTypeID { get; set; }
        public string LocalAddress { get; set; }
        public string PatientName { get; set; }
        public string Tel { get; set; }
        public string SendAddress { get; set; }
        public DateTime FirtEventTime { get; set; }
        public string ZhuSu { get; set; }
        public string HuJiuTel { get; set; }
        public string OriginType { get; set; }
        public string OriginTypeID { get; set; }
        public string DispatcherName { get; set; }
        public string DispatcherID { get; set; }
        public string TAlarmNum { get; set; }
        public string TAlarmTotal { get; set; }
        public string Country { get; set; }
        public string WaitAddress { get; set; }
        public string AmbulanceNumber { get; set; }
        public string AmbulanceCode { get; set; }
        public double Longitude { get; set; }
        public double Latitude { get; set; }
        public Boolean IsMark { get; set; }
        public string EventName { get; set; }
        public string EventCode { get; set; }
        public string StartTime { get; set; }
        public string EndTime { get; set; }
    }
    //车辆最后GPS信息
    public class AmbLastGPSInfo
    {
        public string AmbulanceCode { get; set; }
        public string RealSign { get; set; }
        public string EventCode { get; set; }
        public int WorkStateCode { get; set; }
        public string WorkState { get; set; }
        public DateTime Time { get; set; }
        public double Longitude { get; set; }
        public double Latitude { get; set; }
        public double Height { get; set; }
        public double Speed { get; set; }
        public double Direction { get; set; }
        public string Tel { get; set; }
        public string Driver { get; set; }
        public string Doctor { get; set; }
        public string Nurse { get; set; }
        public string Litter { get; set; }
        public string EventName { get; set; }
        public string StationCode { get; set; }
        public string StationName { get; set; }
        public string RealLocal { get; set; }
    }
    //分站GPS信息
    public class StationInfo
    {
        public string StationCode { get; set;}
        public string StationName { get; set; }
        public double Longitude { get; set; }
        public double Latitude { get; set; }
    }
    //医院GPS信息
    public class HospitalInfo
    {
        public string HospitalCode { get; set; }
        public string HospitalName { get; set; }
        public double Longitude { get; set; }
        public double Latitude { get; set; }
    }
    //通过任务编码查GPS信息
    public class ByTaskCodeInfo
    {
        public double Longitude { get; set; }
        public double Latitude { get; set; }
        public string LocalAddress { get; set; }
        public string EventCode { get; set; }
        public string Tel { get; set; }
        public string PatientName { get; set; }
        public string EventName { get; set; }
        public Boolean IsMark { get; set; }
    }
    //车辆GPS列表
    public class GpsTrackList
    {
        public string Code { get; set; } //车辆编码
        public string RealSign { get; set; }
        public int WorkStateId { get; set; }
        public string WorkState { get; set; }
        public double Longitude { get; set; }
        public double Latitude { get; set; }
        public double Height { get; set; }
        public double Speed { get; set; }
        public double Direction { get; set; }
        public string GpsTime { get; set; }
    }
    public class AlarmEventInfo
    {
        public string EventCode { get; set; }
        public string EventName{get;set;}
        public int Type { get; set; }
        public string FirstAlarmTel { get; set; }
        public double Longitude { get; set; }
        public double Latitude { get; set; }
        public string PatientName { get; set; }
    }
}
